package com.ruoyi.common.core.domain.model;

/**
 * Apple登录请求体
 *
 * @author ruoyi
 */
public class AppleLoginBody
{
    /**
     * Apple Identity Token (首次登录时使用)
     */
    private String identityToken;

    /**
     * Refresh Token (刷新token时使用)
     */
    private String refreshToken;

    /**
     * Apple User ID
     */
    private String appleUserId;

    /**
     * 用户邮箱
     */
    private String email;

    /**
     * 用户姓名
     */
    private String fullName;

    public String getIdentityToken()
    {
        return identityToken;
    }

    public void setIdentityToken(String identityToken)
    {
        this.identityToken = identityToken;
    }

    public String getRefreshToken()
    {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken)
    {
        this.refreshToken = refreshToken;
    }

    public String getAppleUserId()
    {
        return appleUserId;
    }

    public void setAppleUserId(String appleUserId)
    {
        this.appleUserId = appleUserId;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getFullName()
    {
        return fullName;
    }

    public void setFullName(String fullName)
    {
        this.fullName = fullName;
    }

    @Override
    public String toString()
    {
        return "AppleLoginBody{" +
                "identityToken='" + (identityToken != null ? "***" : null) + '\'' +
                ", refreshToken='" + (refreshToken != null ? "***" : null) + '\'' +
                ", appleUserId='" + appleUserId + '\'' +
                ", email='" + email + '\'' +
                ", fullName='" + fullName + '\'' +
                '}';
    }
}